<?php
namespace PFBC\Element;

class Textbox extends \PFBC\Element {
	protected $attributes = array("type" => "text", "class" => "pfbc-textbox");
	public function jQueryDocumentReady() {
		//echo 'jQuery("#', $this->attributes["id"], '").outerWidth(jQuery("#', $this->attributes["id"], '").width());';
                echo 'jQuery("#', $this->attributes["id"], '").addClass("width_'.$this->style.'");';
                if($this->attributes['title'] != '')
                echo 'jQuery("#', $this->attributes["id"], '").addClass("vtip");';
                
                    
	}
}
